home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
scope
/
051-075
/
scopedisk70
/
whereis2
/
whereis.doc
< prev
next >
Wrap
Text File
|
1995-03-19
|
3KB
|
55 lines
I have made a few changes to WhereIs. It now reports the exact
path and spelling (including Capitalization) of the files it finds.
It also reports the size and last change date and time. This should
assist in determining which of the versions on a disk is the most
current. The size reporting can help indicate if two version might
be identical (same size). I also compiled it with the 4.0 version
of Lattice C (just used "lc -L whereis" to compile and link all in
one command) and the enhanced executable is actually smaller. (10K
versus 16K for the original.)
Also note that in the case where no device/directory is given
as the 2nd parameter the default is to start in the root of the
currently logged directory. This allows you to be anywhere on your
hard drive and type "WhereIs whereis" and it will return something
like:
:c/WhereIs Size=16716 12/01/1987 at 20:14
:Util/Where/WhereIs Size=16716 12/01/1987 at 20:01
:C-src/where/whereis Size=10756 12/18/1987 at 21:18
Hope these cosmetic changes are appreciated. I would like to thank
the author for providing a very usefull little utility here. I think
the author is Kevin M. Rahe (he uploaded it anyway). I am
Ken Presser (KPRESSER on GEnie, kpresser on BIX).
The following is the Author's original documentation:
WhereIs is designed to speed the process of finding files on disks. WhereIs
will go thru a disk and look for a file. When WhereIs finds the file, the
filename is printed followed by the complete path to that file. If the file
cannot be found on that device, an apology about not finding the file is
printed. WhereIs uses 2 parameters: a filename and a device name. Here
are some examples:
WhereIs dir df0: ;will search device df0: for the file dir
WhereIs lc1 cc: ;will search disk CC: for the file lc1
WhereIs blink ;will search the default device for the file blink
Note that if the second parameter is omitted, the current default device is
searched for the file specified in the first parameters.
Where is also distributed with WhereIs (a fast hack of WhereIs). Where
differs from WhereIs in that Where quits as soon as it finds the first
occurance of the file of interest. WhereIs will continue looking until its
searched every subdirectory for multiple occurances of the file of interest.
KNOWN PROBLEMS:
Something I've been unable to determine is why WhereIs cannot find stuff in
the RAM: device. I suspect that some of the system routines don't handle
the RAM: device just right. If you've any insight into this matter, please
tell me.
The makefile I distribute has a dependency structure for Where as well as for
WhereIs. But I can't get Make to update Where. So,I hacked a copy of
makefile and used that.